﻿<%@ Page Title="Shinnyo-en Lanka - Register" Language="C#" MasterPageFile="~/Site.Master"
    AutoEventWireup="true" CodeBehind="Register.aspx.cs" Inherits="RL.SMR.Member.Register" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <link rel="stylesheet" href="//code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css">
    <script type="text/javascript" src="//code.jquery.com/jquery-1.10.2.js"></script>
    <script type="text/javascript" src="//code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
    <script type="text/javascript">
        $(function () {
            $("#datepicker").datepicker();
        });
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        <b>member registration</b>
    </h2>
    <hr />
    <div>
        <p>
            <asp:Label ID="lblLocalID" runat="server" AssociatedControlID="txtLocalID">Local ID:</asp:Label>
            <asp:TextBox ID="txtLocalID" runat="server"></asp:TextBox>
        </p>
        <p>
            <asp:Label ID="lblFollowersID" runat="server" AssociatedControlID="txtFollowersID">Followers ID:</asp:Label>
            <asp:TextBox ID="txtFollowersID" runat="server"></asp:TextBox>
        </p>
        <p>
            <asp:Label ID="lblDOC" AssociatedControlID="txtDOC" runat="server">Date of Connection</asp:Label>
            <asp:TextBox ID="txtDOC" runat="server"></asp:TextBox>
        </p>
        <p>
            <asp:Label ID="lblDivision" runat="server" AssociatedControlID="ddlDivision">Division</asp:Label>
            <asp:DropDownList ID="ddlDivision" runat="server">
                <asp:ListItem Value="1" Text="Sri Lanka" />
                <asp:ListItem Value="2" Text="Chiba-02" />
            </asp:DropDownList>
        </p>
        <p>
            <asp:Label ID="lblLineageParent" runat="server" AssociatedControlID="ddlLineageParent">Lineage Parent</asp:Label>
            <asp:DropDownList ID="ddlLineageParent" runat="server">
                <asp:ListItem Value="1" Text="Senanayake" />
                <asp:ListItem Value="2" Text="De Silva" />
            </asp:DropDownList>
        </p>
        <p>
            <asp:Label ID="lblLineageNo" runat="server" AssociatedControlID="txtLineageNo">Lineage No</asp:Label>
            <asp:TextBox ID="txtLineageNo" runat="server" />
        </p>
        <p>
            <asp:Label ID="lblSurname" runat="server" AssociatedControlID="txtSurname">Surname</asp:Label>
            <asp:TextBox ID="txtSurname" runat="server" />
        </p>
        <p>
            <asp:Label ID="lblFirstName" runat="server" AssociatedControlID="txtFirstName">First Name</asp:Label>
            <asp:TextBox ID="txtFirstName" runat="server" />
        </p>
        <p>
            <asp:Label ID="lblDOB" AssociatedControlID="txtDOB" runat="server">Date of Birth</asp:Label>
            <asp:TextBox ID="txtDOB" runat="server"></asp:TextBox>
        </p>
        <p>
            <asp:Label ID="lblGender" runat="server" AssociatedControlID="ddlGender">Gender</asp:Label>
            <asp:DropDownList ID="ddlGender" runat="server">
                <asp:ListItem Value="1" Text="Male" />
                <asp:ListItem Value="2" Text="Female" />
            </asp:DropDownList>
        </p>
        <p>
            <asp:Label ID="lblCitizenship" runat="server" AssociatedControlID="ddlCitizenship">Citizenship</asp:Label>
            <asp:DropDownList ID="ddlCitizenship" runat="server">
                <asp:ListItem Value="1" Text="Japanese" />
                <asp:ListItem Value="2" Text="Sri Lankan" />
            </asp:DropDownList>
        </p>
        <p>
            <asp:Label ID="lblPhoneNo" AssociatedControlID="txtPhoneNo" runat="server">Phone No</asp:Label>
            <asp:TextBox ID="txtPhoneNo" runat="server"></asp:TextBox>
        </p>
        <p>
            <asp:Label ID="lblCountry" runat="server" AssociatedControlID="ddlCountry">Country</asp:Label>
            <asp:DropDownList ID="ddlCountry" runat="server">
                <asp:ListItem Value="1" Text="Japan" />
                <asp:ListItem Value="2" Text="Sri Lanka" />
            </asp:DropDownList>
        </p>
        <p>
            <asp:Label ID="lblZIPPO" runat="server" AssociatedControlID="ddlZIPPO">ZIP/Postal</asp:Label>
            <asp:DropDownList ID="ddlZIPPO" runat="server">
                <asp:ListItem Value="1" Text="AA010" />
                <asp:ListItem Value="2" Text="AA020" />
            </asp:DropDownList>
        </p>
        <p>
            <asp:Label ID="lblAddress" runat="server" AssociatedControlID="txtAddress">Address</asp:Label>
            <asp:TextBox ID="txtAddress" runat="server" TextMode="MultiLine"></asp:TextBox>
        </p>
        <p>
            <asp:Label ID="lblCityTown" runat="server" AssociatedControlID="txtCityTown">City/Town</asp:Label>
            <asp:TextBox ID="txtCityTown" runat="server"></asp:TextBox>
        </p>
        <p>
            <asp:Label ID="lblProvince" runat="server" AssociatedControlID="txtProvince">Province</asp:Label>
            <asp:TextBox ID="txtProvince" runat="server"></asp:TextBox>
        </p>
        <p>
            <asp:Label ID="lblGuidingParent" runat="server" AssociatedControlID="txtGuidingParent">Guiding Parent</asp:Label>
            <asp:TextBox ID="txtGuidingParent" runat="server"></asp:TextBox>
        </p>
        <p>
            <asp:Label ID="lblHOHGuidingParent" runat="server" AssociatedControlID="txtHOHGuidingParent">His or her Guiding Parent</asp:Label>
            <asp:TextBox ID="txtHOHGuidingParent" runat="server"></asp:TextBox>
        </p>
        <p>
            <asp:Label ID="lblIDNo" runat="server" AssociatedControlID="txtIDNo">ID No</asp:Label>
            <asp:TextBox ID="txtIDNo" runat="server"></asp:TextBox>
        </p>
        <hr />
        <p>
            <asp:Label ID="lblFCSurname" runat="server" AssociatedControlID="txtFCSurname">Surname</asp:Label>
            <asp:TextBox ID="txtFCSurname" runat="server" />
        </p>
        <p>
            <asp:Label ID="lblFCFirstName" runat="server" AssociatedControlID="txtFCFirstName">First Name</asp:Label>
            <asp:TextBox ID="txtFCFirstName" runat="server" />
        </p>
        <p>
            <asp:Label ID="lblFCDOB" AssociatedControlID="txtFCDOB" runat="server">Date of Birth</asp:Label>
            <asp:TextBox ID="txtFCDOB" runat="server"></asp:TextBox>
        </p>
        <p>
            <asp:Label ID="lblFCGender" runat="server" AssociatedControlID="ddlFCGender">Gender</asp:Label>
            <asp:DropDownList ID="ddlFCGender" runat="server">
                <asp:ListItem Value="1" Text="Male" />
                <asp:ListItem Value="2" Text="Female" />
            </asp:DropDownList>
        </p>
        <p>
            <asp:Label ID="lblFCCitizenship" runat="server" AssociatedControlID="ddlFCCitizenship">Citizenship</asp:Label>
            <asp:DropDownList ID="ddlFCCitizenship" runat="server">
                <asp:ListItem Value="1" Text="Japanese" />
                <asp:ListItem Value="2" Text="Sri Lankan" />
            </asp:DropDownList>
        </p>
        <p>
            <asp:Button ID="btnAddFC" runat="server" Text="Add Members" OnClick="btnAddFC_Click" />
        </p>
        <asp:GridView ID="gwFamilyConn" AutoGenerateColumns="false" runat="server">
            <Columns>
                <asp:BoundField DataField="Surname" HeaderText="Surname" />
                <asp:BoundField DataField="FirstName" HeaderText="First Name" />
                <asp:BoundField DataField="DOB" HeaderText="Date of Birth" />
                <asp:BoundField DataField="GenderID" HeaderText="GenderID" Visible="false" />
                <asp:BoundField DataField="Gender" HeaderText="Gender" />
                <asp:BoundField DataField="CitizenshipID" HeaderText="CitizenshipID" Visible="false" />
                <asp:BoundField DataField="Citizenship" HeaderText="Citizenship" />
                <asp:TemplateField ShowHeader="False">
                    <ItemTemplate>
                        <asp:LinkButton ID="LB" CommandName="Delete" runat="server">Delete</asp:LinkButton>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
        </asp:GridView>
        </p>
        <p>
            <asp:Button ID="btnRegister" runat="server" CommandName="Save" Text="Save" OnClick="btnRegister_Click" />
        </p>
    </div>
</asp:Content>
